package com.zhz.model.system;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zhz.common.tool.mybatisplus.base.dal.entity.BasePO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * @author zhouhengzhe
 * @date 2023/3/21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "pe_role")
public class Role extends BasePO {
    /**
     * 权限名称
     */
    @TableField(NAME)
    private String name;

    /**
     * 说明
     */
    @TableField(DESCRIPTION)
    private String description;

    /**
     * 企业id
     */
    @TableField(COMPANY_ID)
    private String companyId;

    public static final String NAME = "name";

    public static final String DESCRIPTION = "description";

    public static final String COMPANY_ID = "company_id";

}